package com.htj.admin.service;

import com.htj.admin.domain.Food;
import com.htj.admin.domain.FoodType;
import com.htj.admin.domain.Order;
import com.htj.admin.domain.OrderDetail;
import com.htj.vo.PageListVo;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

public interface OrderServiceInf {

    boolean add(Order order);

    PageListVo<Order> pageList(Map<String, String> map);

    boolean delete(Integer id);

    boolean changeStatus(Map<String,String> map);

    List<OrderDetail> detail(String id);

    PageListVo<Order> searchStatus(HashMap<String, String> map);
}
